(0) Obligation:

Runtime Complexity TRS:
The TRS R consists of the following rules:

f(S(x)) → x
f(0) → 0
g(x) → g(x)

Rewrite Strategy: INNERMOST

(1) CpxTrsToCpxRelTrsProof (BOTH BOUNDS(ID, ID) transformation)

Transformed TRS to relative TRS where S is empty.

(2) Obligation:

Runtime Complexity Relative TRS:
The TRS R consists of the following rules:

f(S(x)) → x
f(0) → 0
g(x) → g(x)

S is empty.
Rewrite Strategy: INNERMOST

(3) SlicingProof (LOWER BOUND(ID) transformation)

Sliced the following arguments:
g/0

(4) Obligation:

Runtime Complexity Relative TRS:
The TRS R consists of the following rules:

f(S(x)) → x
f(0) → 0
gg

S is empty.
Rewrite Strategy: INNERMOST

(5) InfiniteLowerBoundProof (EQUIVALENT transformation)

The loop following loop proves infinite runtime complexity:
The rewrite sequence
g →+ g
gives rise to a decreasing loop by considering the right hand sides subterm at position [].
The pumping substitution is [ ].
The result substitution is [ ].

(6) BOUNDS(INF, INF)